func runtime.readgstatus

50 uses

	runtime (current package)
		heapdump.go#L358: 	dumpint(uint64(readgstatus(gp)))
		heapdump.go#L413: 		status := readgstatus(gp) // The world is stopped so gp will not be in a scan state.
		mfinal.go#L331: 		empty = empty && readgstatus(fing) == _Gwaiting && fing.waitreason == waitReasonFinalizerWait
		mgc.go#L1182: 	if readgstatus(gp) != _Gwaiting {
		mgcmark.go#L88: 		if status := readgstatus(gp); status != _Gwaiting || gp.internalBlocked() {
		mgcmark.go#L198: 				"status", readgstatus(gp),
		mgcmark.go#L273: 		status := readgstatus(gp) // We are not in a scan state
		mgcmark.go#L286: 			selfScan := gp == userG && readgstatus(userG) == _Grunning
		mgcmark.go#L905: 	if readgstatus(gp)&_Gscan == 0 {
		mgcmark.go#L906: 		print("runtime:scanstack: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", hex(readgstatus(gp)), "\n")
		mgcmark.go#L910: 	switch readgstatus(gp) &^ _Gscan {
		mgcmark.go#L912: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		mgcmark.go#L917: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		mprof.go#L1340: 		if readgstatus(gp1)&^_Gscan == _Gleaked {
		mprof.go#L1478: 	if status := readgstatus(gp1); status == _Gdead || status == _Gdeadextra {
		mprof.go#L1544: 	if readgstatus(gp1) == _Grunning && gp1.syscallsp == 0 {
		mprof.go#L1582: 		if status := readgstatus(gp1); status == _Gdead || status == _Gdeadextra {
		panic.go#L1640: 	status := readgstatus(gp)
		preempt.go#L107: 	if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
		preempt.go#L124: 		switch s := readgstatus(gp); s {
		preempt.go#L266: 	switch s := readgstatus(gp); s {
		preempt.go#L290: 	return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning && mp.curg != nil && readgstatus(mp.curg)&^_Gscan != _Gsyscall
		preempt.go#L371: 	return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
		proc.go#L451: 	status := readgstatus(gp)
		proc.go#L689: 	if readgstatus(gp) == _Gidle {
		proc.go#L958: 	print("runtime:   gp: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		proc.go#L959: 	print("runtime: getg:  g=", thisg, ", goid=", thisg.goid, ",  g->atomicstatus=", readgstatus(thisg), "\n")
		proc.go#L1121: 	status := readgstatus(gp)
		proc.go#L1207: func readgstatus(gp *g) uint32 {
		proc.go#L3264: 	status := readgstatus(gp.m.lockedg.ptr())
		proc.go#L4310: 	status := readgstatus(gp)
		proc.go#L4369: 	status := readgstatus(gp)
		proc.go#L5330: 	if readgstatus(newg) != _Gdead {
		proc.go#L5466: 	if readgstatus(gp) != _Gdead {
		proc.go#L6411: 		s := readgstatus(gp)
		proc.go#L6775: 	status := readgstatus(gp) &^ _Gscan
		proc.go#L6875: 	if readgstatus(gp)&^_Gscan == _Gsyscall {
		proc.go#L6978: 		print("  G", gp.goid, ": status=", readgstatus(gp), "(", gp.waitreason.String(), ") m=")
		proc.go#L7674: 							if gp := mp.curg; gp == nil || readgstatus(gp)&^_Gscan != _Gsyscall {
		signal_unix.go#L774: 		if crashing.Load() > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
		stack.go#L1117: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->status=", hex(readgstatus(gp)), "\n ")
		stack.go#L1247: 	if readgstatus(gp)&^_Gscan == _Gwaiting && gp.waitreason.isWaitingForSuspendG() {
		stack.go#L1261: 	if s := readgstatus(gp); s&_Gscan == 0 {
		trace.go#L529: 				ug.status = readgstatus(s.g) &^ _Gscan
		traceback.go#L841: 	if readgstatus(gp)&^_Gscan == _Gsyscall {
		traceback.go#L1218: 	gpstatus := readgstatus(gp)
		traceback.go#L1316: 		if status := readgstatus(gp); status == _Gdead || status == _Gdeadextra {
		traceback.go#L1340: 		if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning && gp.syscallsp == 0 {
		tracestack.go#L44: 		status := readgstatus(gp)
		tracestatus.go#L70: 		if w.mp.p.ptr() == pp && w.mp.curg != nil && readgstatus(w.mp.curg)&^_Gscan == _Gsyscall {